WPStaging\Backup\Service\Database\DatabaseImporter C

Total Complexity 115
Dependencies 22
Dependents 4
Total lines 848
Lines of code 432
Logical lines of code 284
Comment lines 219
Methods 23
Properties 20

Methods 23

Method Rating Maintainability Complexity Lines of code
execute()
D
27
42 132
searchReplaceInsertQuery()
B
38 15 66
restore()
A
48 9 32
isExecutableQuery()
A
52 8 24
replaceTableCollations()
S
56 5 19
isCorruptedCreateTableQuery()
S
63 4 12
isExcludedInsertQuery()
S
61 4 12
maybeFixReplaceTableConstraints()
S
61 4 12
maybeShorterTableNameForCreateTableQuery()
S
61 3 12
maybeShorterTableNameForDropTableQuery()
S
62 3 11
findExecutableQuery()
S
66 3 9
shouldSearchReplace()
S
66 2 8
getLine()
S
72 2 6
seekLine()
S
69 2 7
undoMySqlRealEscape()
S
59 1 14
mySqlRealEscape()
S
59 1 14
setup()
S
62 1 11
__construct()
S
62 1 11
getTotalLines()
S
82 1 3
setFile()
S
73 1 5
setSearchReplace()
S
72 1 5
exec()
S
75 1 4
setupSearchReplaceForPrefix()
S
77 1 3